﻿<!-- 文档类型声明 -->
<!DOCTYPE html> 
<!-- 文档使用中文 -->                 
<html lang = "zh-cn">
  <head>
	<!-- 网页标题 -->
    <title>博客后台管理</title>
	<!-- 设置当前文档的编码格式 -->
	<meta charset = "utf-8">
	<!-- 设置IE浏览器的解析模式 -->
	<meta http-equiv = "X-UA-Compatible" content = "IE=edge">
	<!-- 设置视窗 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 1.加载Bootstrap的层叠样式表 -->
    <link rel="stylesheet" href="<?php echo base_url();?>/public/css/bootstrap.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
        <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
	<script type="text/javascript">
	function del(){
		var msg = confirm("确定删除吗？");
		if(msg == true){
			return true;
		}else{
			return false;
		}
	}
	</script>
  </head>
  <body>	
	<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
            <div class = "col-sm-2">
            <h4><a href="#" class = "btn btn-lg" role = "button" style = "color:white;"><span class = "glyphicon glyphicon-user"></span>&nbsp;&nbsp;管理员，您好</a></h4>
            </div>
			<div class = "col-sm-offset-11">
		    <h4><a href="<?php echo site_url('Login/logout');?>" id = "logout" class = "btn btn-lg" role = "button" style = "color:white;"><span class = "glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a></h4>
			</div>
	</div>
    </nav>
	<div class = "page-header"></div>
	<div class = "col-sm-2">
		<ul class="nav nav-pills nav-stacked">
			<li role="presentation" class = "active"><a href="<?php echo site_url('Admin/index');?>" id = "main" style = "width:200px;height:100px;font-size:20px;"><br><center>后台主页</center></a></li>
			<li role="presentation" class = "active"><a href="<?php echo site_url('Admin/show');?>" id = "info" style = "width:200px;height:100px;font-size:20px;"><br><center>个人信息</center></a></li>
			<li role="presentation" class = "active"><a href="<?php echo site_url('Category/index');?>" id = "cate" style = "width:200px;height:100px;font-size:20px;"><br><center>栏目管理</center></a></li>
			<li role="presentation" class = "active"><a href="<?php echo site_url('Article/index');?>" id = "arti" style = "width:200px;height:100px;font-size:20px;"><br><center>文章管理</center></a></li>
			<li role="presentation" class = "active"><a href="<?php echo site_url('Admin/pass');?>" id = "pass" style = "width:200px;height:100px;font-size:20px;"><br><center>修改密码</center></a></li>
		</ul>
	</div>